package cn.com.surker.workcon.service.xugong;

import cn.com.surker.base.system.dao.SysStorageLogDao;
import cn.com.surker.base.system.entity.SysLine;
import cn.com.surker.lab.entity.LabExpendOther;
import cn.com.surker.workcon.common.GKJDBCService;
import cn.com.surker.workcon.service.ManualService;
import org.springframework.jdbc.core.JdbcTemplate;

import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 徐工手动配料 Mapper 接口
 * </p>
 *
 * @author admin
 * @since 2024-09-26
 */
public class ManualServiceImpl extends GKJDBCService implements ManualService {

	@Resource
	private SysStorageLogDao sysStorageLogDao;

	@Override
	public List<LabExpendOther> findList(SysLine line, Date startTime) {
		if (line == null) {
			return null;
		}
		JdbcTemplate lineJdbcTemp = getLineJdbcTemp(line);
		if (lineJdbcTemp == null) {
			return null;
		}

		return null;
	}

	@Override
	public void updateFlag(SysLine line, Date startTime) {
	}

	@Override
	public List<LabExpendOther> findAllList(Long lineId, String startTime, String endTime) {
		if (lineId == null) {
			return null;
		}
		SysLine line = getLine(lineId);
		JdbcTemplate lineJdbcTemp = getLineJdbcTemp(line);
		if (lineJdbcTemp == null) {
			return null;
		}
		return null;
	}
}
